Package com.cisco.pt.ipc.ui.impl
Class WebViewManagerImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.ui.impl.WebViewManagerImpl
- All Implemented Interfaces:
IPCObject,WebViewManager
Information provided by the PKI file:
\class WebViewManager
\brief WebViewManager manages all WebViews.
\example appWindow().getWebViewManager()
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionWebViewManagerImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionvoidcloseAll()Information provided by the PKI file:booleancloseWebView(UUID id) Information provided by the PKI file:createWebView(String title, String url, int width, int height) Information provided by the PKI file:getWebView(UUID id) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
WebViewManagerImpl
public WebViewManagerImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
createWebView
Information provided by the PKI file:
\brief Creates a WebView. \param title, the title for the WebView. \param url, the URL for the WebView. \param width, the width for the WebView. \param height, the height for the WebView. \return WebView, the WebView object that is created.- Specified by:
createWebViewin interfaceWebViewManager- Parameters:
title- Takes in a parameter of titleurl- Takes in a parameter of urlwidth- Takes in a parameter of widthheight- Takes in a parameter of height- Returns:
- WebView Returns a WebView
-
getWebView
Information provided by the PKI file:
\brief Returns the WebView with the specified UUID. \param id, the UUID of the WebView of interest. \return WebView, the WebView object with the specified UUID.- Specified by:
getWebViewin interfaceWebViewManager- Parameters:
id- Takes in a parameter of id- Returns:
- WebView Returns a WebView
-
closeWebView
Information provided by the PKI file:
\brief Closes the WebView with the specified UUID. \param id, the UUID of the WebView of interest. \return bool, true if successful, otherwise false.- Specified by:
closeWebViewin interfaceWebViewManager- Parameters:
id- Takes in a parameter of id- Returns:
- boolean Returns a boolean
-
closeAll
public void closeAll()Information provided by the PKI file:
\brief Closes all WebViews.- Specified by:
closeAllin interfaceWebViewManager
-